package com.aaa.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.fh.controller.base.BaseController;
import com.fh.util.PageData;
@Controller
@RequestMapping("/dept")
public class DeptController extends BaseController {

	@RequestMapping("/saveDept")
	public String saveDept(){
		PageData pd = super.getPageData();
		String dname = pd.getString("dname");
		String loc = pd.getString("loc");
		super.getRequest().setAttribute("dname", dname);
		super.getRequest().setAttribute("loc",loc);
		return "aaa/success";
	}
	
}
